|
|
|
|
Level Property, ItemClass Class |
Returns the item's level number.
Syntax ItemClass Class (Softelvdm.SftTreeNET)
VB |
Public ReadOnly Property Level As Integer |
C# |
public int Level { get; } |
C++ |
public: property int Level { |
Property Value
The level.
Comments
The Level property returns the item's level number.
The root (or highest) level is level 0, dependents are on levels 1, 2, 3 and lower. The first item in the tree control is always at level 0.
An item's level number is determined by its position in the hierarchy represented by all items. The Level property determines the "indentation" of an item.
The overall indentation of items can be defined using the DimensionsClass.LevelIndent property.